package com.ftg.midamall.comm.vo;

/**
 * 常量类
 *
 * @author qjw
 * @version 1.0
 * @date 2023/9/9 10:15
 */

public class ConstUtil {

    public static final String TOKEN_NAME = "token";
    public static final String TOKEN_NAME_ZH = "令牌";

    public static final String SERVER_ERROR = "后台方法异常";

    public static final String TIP_VO_SQL = "对不起，sql语句异常.....";

    /**
     * 添加商品成功与失败的描述
     */
    public static final String TIP_INSERT_SUCCESS = "恭喜你！太棒了 添加成功了";

    public static final String TIP_INSERT_FAILURE = "很遗憾！添加失败了";
    /**
     * 更改数据成功与否
     */
    public static final String TIP_UPDATE_SUCCESS = "恭喜你！太棒了 更改成功了";

    public static final String TIP_UPDATE_FAILURE = "很遗憾！更改失败了";

    /**
     * 删除
     */
    public static final String TIP_DELETE_SUCCESS = "删除成功了";

    public static final String TIP_DELETE_FAILURE = "删除失败了";

    /**
     * 删除
     */
    public static final String TIP_Do_SUCCESS = "操作成功了";

    public static final String TIP_Do_FAILURE = "操作失败了";

    /**
     * 用于获取后台返回的code key
     */
    public static final String DATA_CODE_KEY = "code";
    public static final int STATE_VALUE = 200;


    /**
     * 会员模块登陆方法，放行地址
     */
    public static final String USER_CENTER_LOGIN_URL = "/ums/admin/umsAdmin/login";

    /**
     * 用户认证中心登陆方法，放行地址
     */
    public static final String USER_MANAGER_LOGIN_URL = "/usercenter/admin/login";

    public static final String INVALID_TOKEN = "令牌无效，或者已过期!!";


}
